package game.monster;

public class MonsterFactory {
	public static Monster  getInstance(int n) {
		Monster monster=null;
		if (n==0) {
			monster=new IceMonster("寒冰精灵", 300, 20);
		}else if (n==1) {
			monster=new FireMonster("火焰精灵",200, 30);		
		}else if (n==2) {
			monster=new BirdMonster("天空精灵", 200, 30);
		}
		return monster;
	}

}
